<template>
  <div>
      <h2 style="text-align:center">用户</h2>
      <van-grid :column-num="4">
          <van-grid-item  icon="photo-o" text="我的订单" />
          <van-grid-item  icon="photo-o" text="优惠劵" />
          <van-grid-item  icon="photo-o" text="我的足迹" />
          <van-grid-item  icon="photo-o" text="我的收藏" @click="gomy" />
          <van-grid-item  icon="photo-o" text="地址管理" @click='goAddress' />
          <van-grid-item  icon="photo-o" text="联系客服" />
          <van-grid-item  icon="photo-o" text="帮助中心" />
          <van-grid-item  icon="photo-o" text="意见反馈" @click="gojianyi" />
      </van-grid>
  </div>
</template>
<script setup>
import { useRouter } from 'vue-router'
const router = useRouter()
const gomy = () => {
  router.push({ name: 'collection' })
}
const gojianyi = () => {
  router.push({ name: 'submitAction' })
}
const goAddress = () => {
  router.push({ name: 'addressPage' })
}
</script>
<script>
export default {
  name: 'mineView'
}
</script>

<style scoped>

</style>
